package factorydemo.abstractfactory;

/**
 * 美的工厂
 */
public class MideaFactory implements ElectricalApplianceFactory {


    @Override
    public WaterHeater createWaterHeater() {
        return new MideaWaterHeater();
    }

    @Override
    public AirConditioning createAirConditioning() {
        return new MideaAirConditioning();
    }

    @Override
    public WashingMachine createWashingMachine() {
        return new MideaWashingMachine();
    }
}
